#include<stdio.h>

int main(int argc, char const *argv[])
{
    int n[10000], i = 0, j;

    do scanf("%d", &n[i++]);
    while (n[i - 1]);
    
    for (j = 0; j < i - 2; j++) 
        printf(n[j] % 2 ? "Bob\n" : "Alice\n");        

    printf(n[i - 2] % 2 ? "Bob" : "Alice");        

    return 0;
}
